package com.wyl.bugReappear;

import javax.naming.Reference;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;

public class RmiServer {

    public static void main(String[] args) {
        try {
            Registry registry = LocateRegistry.createRegistry(8080);
//            registry.bind("look", new ReferenceWrapper(new Reference(null, "com.wyl.bugReappear.Look", null)));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
